from django.urls import path

from apps.goods import views

urlpatterns = [

    path('index/', views.IndexView.as_view(), name='index'),  #首页
    path('list/<int:category_id>/skus/', views.ListView.as_view(),name='list'),
    path('hot/<int:category_id>/', views.HotGoodsView.as_view()), #热销排行
    path('detail/visit/<int:category_id>/', views.DetailVisitView.as_view()),#商品访问量
    path('detail/<int:sku_id>/', views.DetailView.as_view()), #商品详情
    path('search/', views.MysearchView.as_view()) #商品详情

]
